<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
    <title>套餐详情</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link href="static/css/wshop_uc.css?v={$cssversion}" type="text/css" rel="Stylesheet" />
</head>
<body style='background: #f7f7f7;overflow-x:hidden;'>

<input type="hidden" value="{$packageInfo.express_code}" id="expresscode" />

<input type="hidden" value="{$packageInfo.express_company}" id="expresscom" />

{include file="../../global/top_nav.tpl"}

{include file="../../global/ad/global_top.tpl"}

<div class="exp-item-info clearfix" style="margin-top:0;">
    <span class="order-status">{if $packageInfo.flag eq 1}未发货{/if}{if $packageInfo.flag eq 2}已发货{/if}{if $packageInfo.flag eq 0}已取消{/if}</span>
    <span class="order-id">发货时间：{$packageInfo.express_time|date_format:"m-d"}</span>
</div>

<div class="exp-item-info" style="background:url({$docroot}static/images/icon/od-exp-bh.png) left top repeat-x #fff;padding:0;padding-top:15px;">
    <div style="padding:0 10px;">
        <div class="clearfix">
            <span class="od-name">{$address.user_name}</span>
            <span class="od-tel">{$address.tel_number}</span>
        </div>
        <div class="od-address">{$address.address}</div>
    </div>
    <div style="height:15px;background:url({$docroot}static/images/icon/od-exp-bh.png) left bottom repeat-x #fff;"></div>
</div>

{if $packageInfo.express_code neq '' }
    <div class="exp-head">
        <div id="exp-comname">{$packageInfo.express_company}</div>
        <div id="exp-code">运单编号：{$packageInfo.express_code}</div>
    </div>
{/if}

{if $packageInfo.express_code neq ''}
    <div class="exp-item-info">
        <div class="exp-item-caption">物流跟踪</div>
        <ul id="express-dt"></ul>
        <div id="loading-wrap"></div>
    </div>
{/if}
<br />
{if $packageInfo.flag eq 1}
<a id="stop" class="button green" data-id="{$packageInfo.id}">暂停本次配送</a>
<br />
<a id="edit_address" class="button green" data-id="{$packageInfo.id}">修改本次收获地址</a>
    <br />
<a id="edit_all_address" class="button green" data-id="{$packageInfo.id}">修改以后收获地址</a>
{/if}
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script type="text/javascript">
    wx.config({
        debug: false,
        appId: '{$signPackage.appId}',
        timestamp: {$signPackage.timestamp},
        nonceStr: '{$signPackage.nonceStr}',
        signature: '{$signPackage.signature}',
        jsApiList: ['openAddress']
    });
    addrsignPackage = {$addrsignPackage};
</script>
<script data-main="static/script/Wshop/shop_package.js?v={$config.cssversion}" src="static/script/require.min.js"></script>

{if !$isExpstaff}
    {include file="../../global/footer.tpl"}
{else}
    {include file="../../global/copyright.tpl"}
{/if}

</body>
</html>